################################################################*# Jam #*#######
#   Copyright (C) 2010 Bryce Lelbach
#
#   Distributed under the Boost Software License, Version 1.0. (See accompanying
#   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
################################################################################

build-project container_fwd ;

project detail/test
  : requirements
    <toolset>clang:<cxxflags>-Wno-unused
    <toolset>clang:<cxxflags>-Wno-tautological-compare
    <toolset>clang:<cxxflags>-ftemplate-depth-300
    <toolset>gcc:<cxxflags>-ftemplate-depth-300
    <toolset>gcc:<define>_STLP_DEBUG
    # Do not enable libstdc++ debug mode because of gcc 10.1 bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289
    # <toolset>gcc:<define>_GLIBCXX_DEBUG
    <toolset>darwin:<cxxflags>-ftemplate-depth-300
  ;

# import rules for testing conditional on config file variables
import ../../config/checks/config : requires ;

run binary_search_test.cpp ;
run blank_test.cpp ;
run is_sorted_test.cpp ;
run numeric_traits_test.cpp ;
run is_xxx_test.cpp ;
# run test_utf8_codecvt.cpp : : : [ requires std_wstreambuf ] ;
run test_utf8_codecvt.cpp ;
run allocator_utilities_test.cpp ;
run reference_content_test.cpp ;
